package com.kk.util.request;

import lombok.Data;

/**
 * @author: kevin
 * @data: 2018-09-04 12:48
 * @desc: 请求接口消息体封装
 */
@Data
public class Reqbody {
    private Integer pageIndex;
    private Integer pageSize;
    private String example;
//
//    public Reqbody() {
//        Type genType = getClass().getGenericSuperclass();
//        Type[] params = ((ParameterizedType) genType).getActualTypeArguments();
//        entityClass = (Class) params[0];
//
//    }

//    public T getExample() {
//        return JSONUtil.parse((String) example, entityClass);
//    }
}
